package com.xnew.entity.ssoApi;

import java.util.Date;

/**
 * 用户数据模型.
 * 
 * @author 徐海洋 .
 */
public class UserInfo {
    /**
     * 主键编号
     */
    private String sui_id;
    /**
     * 员工姓名
     */
    private String sui_name;
    /**
     * 用户登入名称
     */
    private String loginname;
    /**
     * 登入密码
     */
    private String password;
    /**
     * 创建人
     */
    private String sui_createuser_id;
    /**
     * 当前用户状态
     */
    private String sui_state;

    private String sui_flag;

    private String sui_type;
    private String sui_pw_next_update_date;
    
    private String emi_paper_id;
    
    private String emi_paper_no2;
    
    private String emi_org_id;
    
    private String emi_dep_id;
    
    private String aoi_id;
    
    private String aoi_name;
    
    private String aoi_type;
    
    private String aoi_flag;
    
    private String sui_emp_id;
    
    private String ssoflag; 
    
    private String accessToken; 
    
    private String refreshToken; 
    
    private String expiresIn;

	private String issuedAt;
    
    private String expiresAt;
    
    private String userId;
    
    private String ssoUrl;
    
    private String code;
    
    public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getSsoUrl() {
		return ssoUrl;
	}

	public void setSsoUrl(String ssoUrl) {
		this.ssoUrl = ssoUrl;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getIssuedAt() {
		return issuedAt;
	}

	public void setIssuedAt(String issuedAt) {
		this.issuedAt = issuedAt;
	}

	public String getExpiresAt() {
		return expiresAt;
	}

	public void setExpiresAt(String expiresAt) {
		this.expiresAt = expiresAt;
	}
    
    public String getSui_emp_id() {
		return sui_emp_id;
	}

	public void setSui_emp_id(String sui_emp_id) {
		this.sui_emp_id = sui_emp_id;
	}
	public String getAoi_id() {
		return aoi_id;
	}

	public void setAoi_id(String aoi_id) {
		this.aoi_id = aoi_id;
	}
	public String getAoi_name() {
		return aoi_name;
	}

	public void setAoi_name(String aoi_name) {
		this.aoi_name = aoi_name;
	}

	public String getAoi_type() {
		return aoi_type;
	}

	public void setAoi_type(String aoi_type) {
		this.aoi_type = aoi_type;
	}

	public String getAoi_flag() {
		return aoi_flag;
	}

	public void setAoi_flag(String aoi_flag) {
		this.aoi_flag = aoi_flag;
	}

	public void setCreateuser_id(String createuser_id) {
        if (createuser_id.equals("null")) {
            this.sui_createuser_id = "1";
            return;
        }
        this.sui_createuser_id = createuser_id;
    }

    public String getSui_id() {
        return this.sui_id;
    }

    public void setSui_id(String sui_id) {
        this.sui_id = sui_id;
    }

    public String getSui_name() {
        return this.sui_name;
    }

    public void setSui_name(String sui_name) {
        this.sui_name = sui_name;
    }

    public String getLoginname() {
        return this.loginname;
    }

    public void setLoginname(String loginname) {
        this.loginname = loginname;
    }

    public String getPassword() {
        return this.password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSui_createuser_id() {
        return this.sui_createuser_id;
    }

    public void setSui_createuser_id(String sui_createuser_id) {
        this.sui_createuser_id = sui_createuser_id;
    }

    public String getSui_state() {
        return this.sui_state;
    }

    public void setSui_state(String sui_state) {
        this.sui_state = sui_state;
    }

    public String getSui_flag() {
        return this.sui_flag;
    }

    public void setSui_flag(String sui_flag) {
        this.sui_flag = sui_flag;
    }

    public String getSui_type() {
        return this.sui_type;
    }

    public void setSui_type(String sui_type) {
        this.sui_type = sui_type;
    }

	public String getSui_pw_next_update_date() {
		return sui_pw_next_update_date;
	}

	public void setSui_pw_next_update_date(String sui_pw_next_update_date) {
		this.sui_pw_next_update_date = sui_pw_next_update_date;
	}
    
	public String getEmi_paper_id() {
		return emi_paper_id;
	}

	public void setEmi_paper_id(String emi_paper_id) {
		this.emi_paper_id = emi_paper_id;
	}

	public String getEmi_paper_no2() {
		return emi_paper_no2;
	}

	public void setEmi_paper_no2(String emi_paper_no2) {
		this.emi_paper_no2 = emi_paper_no2;
	}

	public String getEmi_org_id() {
		return emi_org_id;
	}

	public void setEmi_org_id(String emi_org_id) {
		this.emi_org_id = emi_org_id;
	}

	public String getEmi_dep_id() {
		return emi_dep_id;
	}

	public void setEmi_dep_id(String emi_dep_id) {
		this.emi_dep_id = emi_dep_id;
	}

	public String getSsoflag() {
		return ssoflag;
	}

	public void setSsoflag(String ssoflag) {
		this.ssoflag = ssoflag;
	}

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}

	public String getRefreshToken() {
		return refreshToken;
	}

	public void setRefreshToken(String refreshToken) {
		this.refreshToken = refreshToken;
	}

	public String getExpiresIn() {
		return expiresIn;
	}

	public void setExpiresIn(String expiresIn) {
		this.expiresIn = expiresIn;
	}
    
}
